﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using GDISim._Infrastructure._Hardware._Datacenter;
using System.Xml.Serialization;

namespace GDISim._Infrastructure._Software._Data
{
    public class DataGrowth
    {
        #region Members
        private DatacenterName dcName;
        private List<DataGrowthPerHour> dataGrowthPerHourList;
        #endregion

        #region Constructor
        public DataGrowth()
        {
            this.dataGrowthPerHourList = new List<DataGrowthPerHour>();

        }
    

        #endregion

        #region Properties
        [XmlAttribute("Site")]
        public DatacenterName DcName
        {
            get
            {
                return this.dcName;
            }
            set
            {
                this.dcName = value;
            }
        }

        [XmlArray(), XmlArrayItem(typeof(DataGrowthPerHour))]
        public List<DataGrowthPerHour> DataGrowthPerHourList
        {
            get
            {
                return this.dataGrowthPerHourList;
            }
            set
            {
                this.dataGrowthPerHourList = value;
            }
        }

        #endregion

    }
}
